package java实验.类关系.ex03;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        Circle[] circles = Circles.createCircles(n);
        Circles.outputCircles(circles);
        Circle[] isolatedCircles = Circles.getIsolatedCircles(circles);
        if(isolatedCircles!=null){
            System.out.println("---------这是孤立圆----------------");
            Circles.outputCircles(isolatedCircles);
        }else{
            System.out.println("-----------没有孤立圆-----------");
        }





    }

}
